@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="FlowersInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="name" name="花卉名称" underline="true"/>

                    <#input id="color" name="花卉颜色" underline="true"/>

                    <#input id="image" name="花卉图片" underline="true"/>

                    <#input id="price" name="花卉价格" underline="true"/>

                    <#select id="fid" name="花卉类型" underline="true">
                       <option value="">请选择</option>
                       @for(flowerType in list){
                       <option value="${flowerType.fid}">${flowerType.fname}</option>
                       @}
                    </#select>

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="FlowersInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="FlowersInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/flowers/flowers/flowers_info.js"></script>
@}
